﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace VM.Entity.EntityDto.Goods
{
    public class addGoodsHeadImgsDto
    {
        #region Model
        private int _id;
        private string _description;
        private int _parentid;
        private string _mediasrc;
        private int _mediatype;
        private int _orderno;
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, IsOnlyIgnoreInsert = true)]
        [JsonIgnore]
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string description
        {
            set { _description = value; }
            get { return _description; }
        }
        /// <summary>
        /// 
        /// </summary>
        [JsonIgnore]
        public int parentId
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 图片地址 
        /// </summary>
        public string mediaSrc
        {
            set { _mediasrc = value; }
            get { return _mediasrc; }
        }
        /// <summary>
        /// 媒体类型  1 图片 2 视频
        /// </summary>
        public int mediaType
        {
            set { _mediatype = value; }
            get { return _mediatype; }
        }
        /// <summary>
        /// 顺序号
        /// </summary>
        public int orderNo
        {
            set { _orderno = value; }
            get { return _orderno; }
        }
        #endregion Model
    }
}
